public class ZhaiZhiJie {
    public static void main(String[] args) {
        int i = 0;
        int j = 0;
        try{
            String str1 = args[0];
            String str2 = args[1];
            i = Integer.parseInt(str1);
            j = Integer.parseInt(str2);
            int temp = i / j;
            System.out.println("两个数字相除的结果："+temp);
        }catch(NumberFormatException e){
            System.out.println("出现了异常："+ e);
        }catch(ArithmeticException e){
            System.out.println("出现了异常："+e);
        }
    }
}
